Contents | Index | < Browse | Browse >

LETTERfreeULETTER Frees a memory region.

Overview
#include <stdlib.h>

(void) free(ptr);

void *ptr;

Portability
ANSI

Description
"free" frees a memory region allocated with malloc, calloc or realloc.
The standard startup code frees all memory allocated with these functions automatically when exiting.